package com.example.common.core.domain;

import com.example.common.core.enums.ResultCode;
import lombok.Data;

/**
 * @author 23050
 * @version 1.0
 * @description: 返回的请求体
 * @date 2025/1/19 21:26
 */
@Data
public class Result<T> {

    private T code;
    private String msg;
    private T data;

    public Result(){
    }
    public Result(T code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
